<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite + TS</title>
  </head>
  <body>
    <div id="app">
      显示：<span class="show"></span> &nbsp;&nbsp; len: <span class="len"></span> &nbsp;&nbsp; time: <span class="time"></span> ms
      <br/>
      <button id="toggleBtn">显示/隐藏</button>
      &nbsp;&nbsp;
      <button id="redBtn">红色</button>
      &nbsp;&nbsp;
      <button id="greenBtn">绿色</button>
      &nbsp;&nbsp;
      渲染方式：
        <input name="render" type="radio" checked value="dom"/>DOM&nbsp;
        <input name="render" type="radio" value="str" />STR
      </radio-group>
      <hr/>
      <div id="main" style="width: 100%; max-height: 90vh; overflow: auto;">
      </div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
